package com.qiantu.phone.bean;

import com.contrarywind.interfaces.IPickerViewData;

import java.util.List;

/**
 * TODO<json数据源>
 *
 * @author: luzx
 * @date: 2019/07/04 15:36
 */

public class AreaBean implements IPickerViewData {


    private String name;
    private String code;

    private List<AreaBean> childs;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<AreaBean> getChilds() {
        return childs;
    }

    public void setChilds(List<AreaBean> childs) {
        this.childs = childs;
    }

    @Override
    public String getPickerViewText() {
        return name;
    }
}
